// Installation is complete. In most cases the browser window that this SWF
// is hosted in will be closed by the installer or manually by the end user
} else if (msg == "Download.Cancelled") {
// The end user chose "NO" when prompted to install the new player
// by default no User Interface is presented in this case. It is left up to
// the developer to provide an alternate experience in this case
// feel free to change this to whatever you want, js errors are sufficient for this example
getURL("javascript:alert('This content requires a more recent version of the Macromedia Flash Player.')");
} else if (msg == "Download.Failed") {
// The end user failed to download the installer due to a network failure
// by default no User Interface is presented in this case. It is left up to
// the developer to provide an alternate experience in this case
// feel free to change this to whatever you want, js errors are sufficient for this example
getURL("javascript:alert('There was an error downloading the Flash Player update. Please try again later, or visit macromedia.com to download the latest version of the Flash plugin.')");